package com.tjmc.tiomscore.model;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class TranPtnHwEspExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public TranPtnHwEspExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Long value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Long value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Long value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Long value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Long value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Long value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Long> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Long> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Long value1, Long value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Long value1, Long value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andRmuidIsNull() {
            addCriterion("rmuid is null");
            return (Criteria) this;
        }

        public Criteria andRmuidIsNotNull() {
            addCriterion("rmuid is not null");
            return (Criteria) this;
        }

        public Criteria andRmuidEqualTo(String value) {
            addCriterion("rmuid =", value, "rmuid");
            return (Criteria) this;
        }

        public Criteria andRmuidNotEqualTo(String value) {
            addCriterion("rmuid <>", value, "rmuid");
            return (Criteria) this;
        }

        public Criteria andRmuidGreaterThan(String value) {
            addCriterion("rmuid >", value, "rmuid");
            return (Criteria) this;
        }

        public Criteria andRmuidGreaterThanOrEqualTo(String value) {
            addCriterion("rmuid >=", value, "rmuid");
            return (Criteria) this;
        }

        public Criteria andRmuidLessThan(String value) {
            addCriterion("rmuid <", value, "rmuid");
            return (Criteria) this;
        }

        public Criteria andRmuidLessThanOrEqualTo(String value) {
            addCriterion("rmuid <=", value, "rmuid");
            return (Criteria) this;
        }

        public Criteria andRmuidLike(String value) {
            addCriterion("rmuid like", value, "rmuid");
            return (Criteria) this;
        }

        public Criteria andRmuidNotLike(String value) {
            addCriterion("rmuid not like", value, "rmuid");
            return (Criteria) this;
        }

        public Criteria andRmuidIn(List<String> values) {
            addCriterion("rmuid in", values, "rmuid");
            return (Criteria) this;
        }

        public Criteria andRmuidNotIn(List<String> values) {
            addCriterion("rmuid not in", values, "rmuid");
            return (Criteria) this;
        }

        public Criteria andRmuidBetween(String value1, String value2) {
            addCriterion("rmuid between", value1, value2, "rmuid");
            return (Criteria) this;
        }

        public Criteria andRmuidNotBetween(String value1, String value2) {
            addCriterion("rmuid not between", value1, value2, "rmuid");
            return (Criteria) this;
        }

        public Criteria andServicermuidIsNull() {
            addCriterion("servicermuid is null");
            return (Criteria) this;
        }

        public Criteria andServicermuidIsNotNull() {
            addCriterion("servicermuid is not null");
            return (Criteria) this;
        }

        public Criteria andServicermuidEqualTo(String value) {
            addCriterion("servicermuid =", value, "servicermuid");
            return (Criteria) this;
        }

        public Criteria andServicermuidNotEqualTo(String value) {
            addCriterion("servicermuid <>", value, "servicermuid");
            return (Criteria) this;
        }

        public Criteria andServicermuidGreaterThan(String value) {
            addCriterion("servicermuid >", value, "servicermuid");
            return (Criteria) this;
        }

        public Criteria andServicermuidGreaterThanOrEqualTo(String value) {
            addCriterion("servicermuid >=", value, "servicermuid");
            return (Criteria) this;
        }

        public Criteria andServicermuidLessThan(String value) {
            addCriterion("servicermuid <", value, "servicermuid");
            return (Criteria) this;
        }

        public Criteria andServicermuidLessThanOrEqualTo(String value) {
            addCriterion("servicermuid <=", value, "servicermuid");
            return (Criteria) this;
        }

        public Criteria andServicermuidLike(String value) {
            addCriterion("servicermuid like", value, "servicermuid");
            return (Criteria) this;
        }

        public Criteria andServicermuidNotLike(String value) {
            addCriterion("servicermuid not like", value, "servicermuid");
            return (Criteria) this;
        }

        public Criteria andServicermuidIn(List<String> values) {
            addCriterion("servicermuid in", values, "servicermuid");
            return (Criteria) this;
        }

        public Criteria andServicermuidNotIn(List<String> values) {
            addCriterion("servicermuid not in", values, "servicermuid");
            return (Criteria) this;
        }

        public Criteria andServicermuidBetween(String value1, String value2) {
            addCriterion("servicermuid between", value1, value2, "servicermuid");
            return (Criteria) this;
        }

        public Criteria andServicermuidNotBetween(String value1, String value2) {
            addCriterion("servicermuid not between", value1, value2, "servicermuid");
            return (Criteria) this;
        }

        public Criteria andNermuidIsNull() {
            addCriterion("nermuid is null");
            return (Criteria) this;
        }

        public Criteria andNermuidIsNotNull() {
            addCriterion("nermuid is not null");
            return (Criteria) this;
        }

        public Criteria andNermuidEqualTo(String value) {
            addCriterion("nermuid =", value, "nermuid");
            return (Criteria) this;
        }

        public Criteria andNermuidNotEqualTo(String value) {
            addCriterion("nermuid <>", value, "nermuid");
            return (Criteria) this;
        }

        public Criteria andNermuidGreaterThan(String value) {
            addCriterion("nermuid >", value, "nermuid");
            return (Criteria) this;
        }

        public Criteria andNermuidGreaterThanOrEqualTo(String value) {
            addCriterion("nermuid >=", value, "nermuid");
            return (Criteria) this;
        }

        public Criteria andNermuidLessThan(String value) {
            addCriterion("nermuid <", value, "nermuid");
            return (Criteria) this;
        }

        public Criteria andNermuidLessThanOrEqualTo(String value) {
            addCriterion("nermuid <=", value, "nermuid");
            return (Criteria) this;
        }

        public Criteria andNermuidLike(String value) {
            addCriterion("nermuid like", value, "nermuid");
            return (Criteria) this;
        }

        public Criteria andNermuidNotLike(String value) {
            addCriterion("nermuid not like", value, "nermuid");
            return (Criteria) this;
        }

        public Criteria andNermuidIn(List<String> values) {
            addCriterion("nermuid in", values, "nermuid");
            return (Criteria) this;
        }

        public Criteria andNermuidNotIn(List<String> values) {
            addCriterion("nermuid not in", values, "nermuid");
            return (Criteria) this;
        }

        public Criteria andNermuidBetween(String value1, String value2) {
            addCriterion("nermuid between", value1, value2, "nermuid");
            return (Criteria) this;
        }

        public Criteria andNermuidNotBetween(String value1, String value2) {
            addCriterion("nermuid not between", value1, value2, "nermuid");
            return (Criteria) this;
        }

        public Criteria andPortrmuidIsNull() {
            addCriterion("portrmuid is null");
            return (Criteria) this;
        }

        public Criteria andPortrmuidIsNotNull() {
            addCriterion("portrmuid is not null");
            return (Criteria) this;
        }

        public Criteria andPortrmuidEqualTo(String value) {
            addCriterion("portrmuid =", value, "portrmuid");
            return (Criteria) this;
        }

        public Criteria andPortrmuidNotEqualTo(String value) {
            addCriterion("portrmuid <>", value, "portrmuid");
            return (Criteria) this;
        }

        public Criteria andPortrmuidGreaterThan(String value) {
            addCriterion("portrmuid >", value, "portrmuid");
            return (Criteria) this;
        }

        public Criteria andPortrmuidGreaterThanOrEqualTo(String value) {
            addCriterion("portrmuid >=", value, "portrmuid");
            return (Criteria) this;
        }

        public Criteria andPortrmuidLessThan(String value) {
            addCriterion("portrmuid <", value, "portrmuid");
            return (Criteria) this;
        }

        public Criteria andPortrmuidLessThanOrEqualTo(String value) {
            addCriterion("portrmuid <=", value, "portrmuid");
            return (Criteria) this;
        }

        public Criteria andPortrmuidLike(String value) {
            addCriterion("portrmuid like", value, "portrmuid");
            return (Criteria) this;
        }

        public Criteria andPortrmuidNotLike(String value) {
            addCriterion("portrmuid not like", value, "portrmuid");
            return (Criteria) this;
        }

        public Criteria andPortrmuidIn(List<String> values) {
            addCriterion("portrmuid in", values, "portrmuid");
            return (Criteria) this;
        }

        public Criteria andPortrmuidNotIn(List<String> values) {
            addCriterion("portrmuid not in", values, "portrmuid");
            return (Criteria) this;
        }

        public Criteria andPortrmuidBetween(String value1, String value2) {
            addCriterion("portrmuid between", value1, value2, "portrmuid");
            return (Criteria) this;
        }

        public Criteria andPortrmuidNotBetween(String value1, String value2) {
            addCriterion("portrmuid not between", value1, value2, "portrmuid");
            return (Criteria) this;
        }

        public Criteria andCvidIsNull() {
            addCriterion("cvid is null");
            return (Criteria) this;
        }

        public Criteria andCvidIsNotNull() {
            addCriterion("cvid is not null");
            return (Criteria) this;
        }

        public Criteria andCvidEqualTo(String value) {
            addCriterion("cvid =", value, "cvid");
            return (Criteria) this;
        }

        public Criteria andCvidNotEqualTo(String value) {
            addCriterion("cvid <>", value, "cvid");
            return (Criteria) this;
        }

        public Criteria andCvidGreaterThan(String value) {
            addCriterion("cvid >", value, "cvid");
            return (Criteria) this;
        }

        public Criteria andCvidGreaterThanOrEqualTo(String value) {
            addCriterion("cvid >=", value, "cvid");
            return (Criteria) this;
        }

        public Criteria andCvidLessThan(String value) {
            addCriterion("cvid <", value, "cvid");
            return (Criteria) this;
        }

        public Criteria andCvidLessThanOrEqualTo(String value) {
            addCriterion("cvid <=", value, "cvid");
            return (Criteria) this;
        }

        public Criteria andCvidLike(String value) {
            addCriterion("cvid like", value, "cvid");
            return (Criteria) this;
        }

        public Criteria andCvidNotLike(String value) {
            addCriterion("cvid not like", value, "cvid");
            return (Criteria) this;
        }

        public Criteria andCvidIn(List<String> values) {
            addCriterion("cvid in", values, "cvid");
            return (Criteria) this;
        }

        public Criteria andCvidNotIn(List<String> values) {
            addCriterion("cvid not in", values, "cvid");
            return (Criteria) this;
        }

        public Criteria andCvidBetween(String value1, String value2) {
            addCriterion("cvid between", value1, value2, "cvid");
            return (Criteria) this;
        }

        public Criteria andCvidNotBetween(String value1, String value2) {
            addCriterion("cvid not between", value1, value2, "cvid");
            return (Criteria) this;
        }

        public Criteria andSvidIsNull() {
            addCriterion("svid is null");
            return (Criteria) this;
        }

        public Criteria andSvidIsNotNull() {
            addCriterion("svid is not null");
            return (Criteria) this;
        }

        public Criteria andSvidEqualTo(String value) {
            addCriterion("svid =", value, "svid");
            return (Criteria) this;
        }

        public Criteria andSvidNotEqualTo(String value) {
            addCriterion("svid <>", value, "svid");
            return (Criteria) this;
        }

        public Criteria andSvidGreaterThan(String value) {
            addCriterion("svid >", value, "svid");
            return (Criteria) this;
        }

        public Criteria andSvidGreaterThanOrEqualTo(String value) {
            addCriterion("svid >=", value, "svid");
            return (Criteria) this;
        }

        public Criteria andSvidLessThan(String value) {
            addCriterion("svid <", value, "svid");
            return (Criteria) this;
        }

        public Criteria andSvidLessThanOrEqualTo(String value) {
            addCriterion("svid <=", value, "svid");
            return (Criteria) this;
        }

        public Criteria andSvidLike(String value) {
            addCriterion("svid like", value, "svid");
            return (Criteria) this;
        }

        public Criteria andSvidNotLike(String value) {
            addCriterion("svid not like", value, "svid");
            return (Criteria) this;
        }

        public Criteria andSvidIn(List<String> values) {
            addCriterion("svid in", values, "svid");
            return (Criteria) this;
        }

        public Criteria andSvidNotIn(List<String> values) {
            addCriterion("svid not in", values, "svid");
            return (Criteria) this;
        }

        public Criteria andSvidBetween(String value1, String value2) {
            addCriterion("svid between", value1, value2, "svid");
            return (Criteria) this;
        }

        public Criteria andSvidNotBetween(String value1, String value2) {
            addCriterion("svid not between", value1, value2, "svid");
            return (Criteria) this;
        }

        public Criteria andIngresscirIsNull() {
            addCriterion("ingresscir is null");
            return (Criteria) this;
        }

        public Criteria andIngresscirIsNotNull() {
            addCriterion("ingresscir is not null");
            return (Criteria) this;
        }

        public Criteria andIngresscirEqualTo(String value) {
            addCriterion("ingresscir =", value, "ingresscir");
            return (Criteria) this;
        }

        public Criteria andIngresscirNotEqualTo(String value) {
            addCriterion("ingresscir <>", value, "ingresscir");
            return (Criteria) this;
        }

        public Criteria andIngresscirGreaterThan(String value) {
            addCriterion("ingresscir >", value, "ingresscir");
            return (Criteria) this;
        }

        public Criteria andIngresscirGreaterThanOrEqualTo(String value) {
            addCriterion("ingresscir >=", value, "ingresscir");
            return (Criteria) this;
        }

        public Criteria andIngresscirLessThan(String value) {
            addCriterion("ingresscir <", value, "ingresscir");
            return (Criteria) this;
        }

        public Criteria andIngresscirLessThanOrEqualTo(String value) {
            addCriterion("ingresscir <=", value, "ingresscir");
            return (Criteria) this;
        }

        public Criteria andIngresscirLike(String value) {
            addCriterion("ingresscir like", value, "ingresscir");
            return (Criteria) this;
        }

        public Criteria andIngresscirNotLike(String value) {
            addCriterion("ingresscir not like", value, "ingresscir");
            return (Criteria) this;
        }

        public Criteria andIngresscirIn(List<String> values) {
            addCriterion("ingresscir in", values, "ingresscir");
            return (Criteria) this;
        }

        public Criteria andIngresscirNotIn(List<String> values) {
            addCriterion("ingresscir not in", values, "ingresscir");
            return (Criteria) this;
        }

        public Criteria andIngresscirBetween(String value1, String value2) {
            addCriterion("ingresscir between", value1, value2, "ingresscir");
            return (Criteria) this;
        }

        public Criteria andIngresscirNotBetween(String value1, String value2) {
            addCriterion("ingresscir not between", value1, value2, "ingresscir");
            return (Criteria) this;
        }

        public Criteria andIngresspirIsNull() {
            addCriterion("ingresspir is null");
            return (Criteria) this;
        }

        public Criteria andIngresspirIsNotNull() {
            addCriterion("ingresspir is not null");
            return (Criteria) this;
        }

        public Criteria andIngresspirEqualTo(String value) {
            addCriterion("ingresspir =", value, "ingresspir");
            return (Criteria) this;
        }

        public Criteria andIngresspirNotEqualTo(String value) {
            addCriterion("ingresspir <>", value, "ingresspir");
            return (Criteria) this;
        }

        public Criteria andIngresspirGreaterThan(String value) {
            addCriterion("ingresspir >", value, "ingresspir");
            return (Criteria) this;
        }

        public Criteria andIngresspirGreaterThanOrEqualTo(String value) {
            addCriterion("ingresspir >=", value, "ingresspir");
            return (Criteria) this;
        }

        public Criteria andIngresspirLessThan(String value) {
            addCriterion("ingresspir <", value, "ingresspir");
            return (Criteria) this;
        }

        public Criteria andIngresspirLessThanOrEqualTo(String value) {
            addCriterion("ingresspir <=", value, "ingresspir");
            return (Criteria) this;
        }

        public Criteria andIngresspirLike(String value) {
            addCriterion("ingresspir like", value, "ingresspir");
            return (Criteria) this;
        }

        public Criteria andIngresspirNotLike(String value) {
            addCriterion("ingresspir not like", value, "ingresspir");
            return (Criteria) this;
        }

        public Criteria andIngresspirIn(List<String> values) {
            addCriterion("ingresspir in", values, "ingresspir");
            return (Criteria) this;
        }

        public Criteria andIngresspirNotIn(List<String> values) {
            addCriterion("ingresspir not in", values, "ingresspir");
            return (Criteria) this;
        }

        public Criteria andIngresspirBetween(String value1, String value2) {
            addCriterion("ingresspir between", value1, value2, "ingresspir");
            return (Criteria) this;
        }

        public Criteria andIngresspirNotBetween(String value1, String value2) {
            addCriterion("ingresspir not between", value1, value2, "ingresspir");
            return (Criteria) this;
        }

        public Criteria andEgresscirIsNull() {
            addCriterion("egresscir is null");
            return (Criteria) this;
        }

        public Criteria andEgresscirIsNotNull() {
            addCriterion("egresscir is not null");
            return (Criteria) this;
        }

        public Criteria andEgresscirEqualTo(String value) {
            addCriterion("egresscir =", value, "egresscir");
            return (Criteria) this;
        }

        public Criteria andEgresscirNotEqualTo(String value) {
            addCriterion("egresscir <>", value, "egresscir");
            return (Criteria) this;
        }

        public Criteria andEgresscirGreaterThan(String value) {
            addCriterion("egresscir >", value, "egresscir");
            return (Criteria) this;
        }

        public Criteria andEgresscirGreaterThanOrEqualTo(String value) {
            addCriterion("egresscir >=", value, "egresscir");
            return (Criteria) this;
        }

        public Criteria andEgresscirLessThan(String value) {
            addCriterion("egresscir <", value, "egresscir");
            return (Criteria) this;
        }

        public Criteria andEgresscirLessThanOrEqualTo(String value) {
            addCriterion("egresscir <=", value, "egresscir");
            return (Criteria) this;
        }

        public Criteria andEgresscirLike(String value) {
            addCriterion("egresscir like", value, "egresscir");
            return (Criteria) this;
        }

        public Criteria andEgresscirNotLike(String value) {
            addCriterion("egresscir not like", value, "egresscir");
            return (Criteria) this;
        }

        public Criteria andEgresscirIn(List<String> values) {
            addCriterion("egresscir in", values, "egresscir");
            return (Criteria) this;
        }

        public Criteria andEgresscirNotIn(List<String> values) {
            addCriterion("egresscir not in", values, "egresscir");
            return (Criteria) this;
        }

        public Criteria andEgresscirBetween(String value1, String value2) {
            addCriterion("egresscir between", value1, value2, "egresscir");
            return (Criteria) this;
        }

        public Criteria andEgresscirNotBetween(String value1, String value2) {
            addCriterion("egresscir not between", value1, value2, "egresscir");
            return (Criteria) this;
        }

        public Criteria andEgresspirIsNull() {
            addCriterion("egresspir is null");
            return (Criteria) this;
        }

        public Criteria andEgresspirIsNotNull() {
            addCriterion("egresspir is not null");
            return (Criteria) this;
        }

        public Criteria andEgresspirEqualTo(String value) {
            addCriterion("egresspir =", value, "egresspir");
            return (Criteria) this;
        }

        public Criteria andEgresspirNotEqualTo(String value) {
            addCriterion("egresspir <>", value, "egresspir");
            return (Criteria) this;
        }

        public Criteria andEgresspirGreaterThan(String value) {
            addCriterion("egresspir >", value, "egresspir");
            return (Criteria) this;
        }

        public Criteria andEgresspirGreaterThanOrEqualTo(String value) {
            addCriterion("egresspir >=", value, "egresspir");
            return (Criteria) this;
        }

        public Criteria andEgresspirLessThan(String value) {
            addCriterion("egresspir <", value, "egresspir");
            return (Criteria) this;
        }

        public Criteria andEgresspirLessThanOrEqualTo(String value) {
            addCriterion("egresspir <=", value, "egresspir");
            return (Criteria) this;
        }

        public Criteria andEgresspirLike(String value) {
            addCriterion("egresspir like", value, "egresspir");
            return (Criteria) this;
        }

        public Criteria andEgresspirNotLike(String value) {
            addCriterion("egresspir not like", value, "egresspir");
            return (Criteria) this;
        }

        public Criteria andEgresspirIn(List<String> values) {
            addCriterion("egresspir in", values, "egresspir");
            return (Criteria) this;
        }

        public Criteria andEgresspirNotIn(List<String> values) {
            addCriterion("egresspir not in", values, "egresspir");
            return (Criteria) this;
        }

        public Criteria andEgresspirBetween(String value1, String value2) {
            addCriterion("egresspir between", value1, value2, "egresspir");
            return (Criteria) this;
        }

        public Criteria andEgresspirNotBetween(String value1, String value2) {
            addCriterion("egresspir not between", value1, value2, "egresspir");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("updateTime is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("updateTime is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("updateTime =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("updateTime <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("updateTime >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("updateTime >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("updateTime <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("updateTime <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("updateTime in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("updateTime not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("updateTime between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("updateTime not between", value1, value2, "updateTime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}